﻿Imports System.Data

Public Class uMESChangeQtyDTO
    'ServerHostInfo
    Private v_ServerHostInfo As ServerHostInfo

    '变更类型
    Private v_ChangeQtyType As String

    '工序版本
    Private v_SpecRevision As String
    '工序useROR
    Private v_SpecuseROR As Boolean

    ''' <summary>
    ''' ServerHost信息
    ''' </summary>
    ''' <value></value>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Property ServerHostInfo()
        Get
            Return v_ServerHostInfo
        End Get
        Set(ByVal value)
            v_ServerHostInfo = value
        End Set
    End Property

    
    ''' <summary>
    ''' 变更类型
    ''' </summary>
    ''' <value></value>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Property ChangeQtyType()
        Get
            Return v_ChangeQtyType
        End Get
        Set(ByVal value)
            v_ChangeQtyType = value
        End Set
    End Property

    '批次
    Private v_ContainerName As String
    ''' <summary>
    ''' 批次
    ''' </summary>
    ''' <value></value>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Property ContainerName()
        Get
            Return v_ContainerName
        End Get
        Set(ByVal value)
            v_ContainerName = value
        End Set
    End Property


    '变更数量明细信息
    Private v_ChangeQtyDetail As DataTable

    ''' <summary>
    ''' 变更数量明细信息
    ''' </summary>
    ''' <value></value>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Property ChangeQtyDetail() As DataTable
        Get
            Return v_ChangeQtyDetail
        End Get
        Set(ByVal value As DataTable)
            v_ChangeQtyDetail = value
        End Set
    End Property

    '详细信息条数
    Private v_SubentityListCount As Integer = 0
    ''' <summary>
    ''' 详细信息条数
    ''' </summary>
    ''' <value></value>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Property SubentityListCount() As Integer
        Get
            Return v_SubentityListCount
        End Get
        Set(ByVal value As Integer)
            v_SubentityListCount = value
        End Set
    End Property

    'CloseWhenZero
    Private v_CloseWhenZero As Boolean = True

    ''' <summary>
    ''' CloseWhenZero
    ''' </summary>
    ''' <value></value>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Property CloseWhenZero() As Boolean
        Get
            Return v_CloseWhenZero
        End Get
        Set(ByVal value As Boolean)
            v_CloseWhenZero = value
        End Set
    End Property

End Class

